<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>项目管理</title>
<jsp:include page="/WEB-INF/backstage/util.jsp"/>
</head>
<body>
<form method="post" id="form">
	<table class="table-hover table-condensed table-bordered" width="100%">
		<tr>
			<th></th>
			<th>项目名称</th>
			<th>分类</th>
			<th>项目价格</th>
			<th>颜值个数</th>
		</tr>
		<c:forEach items="${listMap }" var="list">
			<tr>
				<td><input type="radio" name="a" value="${list.project_id }"></td>
				<td>${list.project_name }</td>
				<td>${list.type_name }</td>
				<td>${list.rmb_price }</td>
				<td>${list.beauty_price }</td>
			</tr>
		</c:forEach>
	</table>
	<button type="button" onclick="check()">确定</button>
</form>
</body>
<script type="text/javascript">
	function check(){
		var project_id=$('input:radio:checked').val();
		 form.action="${pageContext.request.contextPath }/proltal/subsrcibe/checkProject?project_id="+project_id+"&shop_id=${shop_id}";
		 form.submit();
	}
</script>
</html>